/**
 * Created by camiez on 2017/4/10.
 */
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const state = {
    userId:'',
}

const mutations = {
    sendToViolations(state,userId){
        state.userId = userId;
    }
}

export default new Vuex.Store({
    state,
    mutations
})